// @APIVersion 1.0.0
// @Title lsis API
// @Description 小姐姐美容 后台接口，有任何疑问，请微信联系；多沟通.
// @Contact peter.liu@i-hea.com

package routers

import (
	"lsis/controllers"

	"github.com/astaxie/beego"
)

func init() {
	ns :=
		beego.NewNamespace("/v1",
			beego.NSNamespace("/main",
				beego.NSInclude(
					&controllers.MainPageController{},
				),
			),
			beego.NSNamespace("/user",
				beego.NSInclude(
					&controllers.UserController{},
				),
			),
			beego.NSNamespace("/active",
				beego.NSInclude(
					&controllers.ActiveController{},
				),
			),
			beego.NSNamespace("/file",
				beego.NSInclude(
					&controllers.FormController{},
				),
			),
			beego.NSNamespace("/store",
				beego.NSInclude(
					&controllers.StoreController{},
				),
			),
			beego.NSNamespace("/order",
				beego.NSInclude(
					&controllers.OrderController{},
				),
			),
		)
	beego.AddNamespace(ns)
}
